<?php
/**
 * Created by PhpStorm.
 * User: Hello pan
 * Date: 9/13/25
 * Time: 8:35 AM
 */

use yii\widgets\ActiveForm;
use yii\helpers\Html;
?>

<div class="entry-from">
<!--  这是创建开始符号   -->
    <?php $from = ActiveForm::begin(); ?>
<!--        -->
        <?= $from->field($model,'name')->label('自顶替') ?>

        <?= $from->field($model,'email') ?>

    <div class="from-group">
        <?= Html::submitButton('Submit',['class'=>'btn btn-primary'])?>
    </div>

<!--    这是创建结束符-->
    <?php ActiveForm::end();?>

</div>


